package cn.bonoon.kernel.support.models;

public class ObjectItem {
	
	public static ObjectItem valueOf(Object id, Object value, boolean selected){
		ObjectItem oItem = new ObjectItem();
		oItem.id = id;
		oItem.value = value;
		oItem.selected = selected;
		return oItem;
	}
	
	private boolean selected;
	
	private Object id;
	
	private Object value;
	
	public boolean isSelected() {
		return selected;
	}
	
	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	public Object getId() {
		return id;
	}

	public void setId(Object id) {
		this.id = id;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}
}
